package cn.com.yx.ms.persistence;

import cn.com.yx.ms.domain.dbmodel.ModelControl;
import cn.com.yx.ms.domain.model.ModelControlModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ModelControlMapper {
    int deleteByPrimaryKey(String guid);

    int insert(ModelControl record);

    int insertSelective(ModelControl record);

    ModelControl selectByPrimaryKey(String guid);

    int updateByPrimaryKeySelective(ModelControl record);

    int updateByPrimaryKey(ModelControl record);

    List<ModelControlModel> findAllModelControl(ModelControlModel modelModel);

    List<ModelControlModel> findAllModelControlByModelId(@Param("modelId")String modelId);

    int disableModelControl(String guid);

    List<ModelControl> selectModelControl();

    int insertModelControlList(List<ModelControl> list);
}